package org.javaongems.client.forms;

import org.javaongems.client.vcl.Control;
import org.javaongems.client.vcl.WinControlListener;

public interface CustomFormListener extends WinControlListener {
	public int CA_NONE = 0;
	public int CA_HIDE = 1;
	public int CA_FREE = 2;
	public int CA_MINIMISE = 3;
	
	public void onActivate(Control sender);
	public int onClose(Control sender);
	public boolean onCloseQuery(Control sender);
	public int onCreate(Control sender);
	public void onDeactivate(Control sender);
	public int onDestroy(Control sender);
	public int onHelp(Control sender);
	public int onHide(Control sender);
	public int onPaint(Control sender);
	public boolean onShortCut(Control sender, int keyCode, int shiftState);
	public int onShow(Control sender);
}
